var result         = {};

result.id          = 'test_001_006';
result.group       = '1';
result.file        = 'test_checkbox_001_006.html';
result.path        = 'checkbox/';
result.type        = 'role';
result.feature     = 'checkbox';
result.title       = 'Test 1.6 for role checkbox';
result.description = 'Check box that has a mixed state and uses aria-labelledby and aria-label for accessible name';
result.properties  = [];
result.states      = ['aria-checked=mixed',];
result.aria_label      = true;
result.aria_labelledby = true;
result.label_element   = false;
result.title_attribute = false;


// Create results object 
result.results = {};

// Windows 7 MSAA and IAccessible2 user agent testing results 
result.results.win7 =[];
result.results.win7.push(  {'name': 'firefox_4'    , result: 'f', accessible_name: 'f', comment: 'state is not set as checked; name only showed aria-labelledby and not aria-label'});
result.results.win7.push(  {'name': 'ie_9'         , result: 'f', accessible_name: 'f', comment: 'state is not set as checked; name only showed aria-labelledby and not aria-label'});
result.results.win7.push(  {'name': 'chrome_10'    , result: 'f', accessible_name: 'f', comment: 'state is not set as checked; name only showed aria-labelledby and not aria-label'});
result.results.win7.push(  {'name': 'safari_5'     , result: 'f', accessible_name: 'f', comment: 'state is not set as checked; name only showed aria-labelledby and not aria-label'});
result.results.win7.push(  {'name': 'opera_11'     , result: 'f', accessible_name: 'f', comment: 'state is not set as checked; name is from child node not aria-labelled by and aria-label'});


// Windows 7 UI Automation agent testing results 
result.results.win7uia =[];
result.results.win7uia.push(  { 'name': 'ie_9', result: 'u', accessible_name: 'u', comment: ''});


// OS X 10.6 user agent testing results 
result.results.osx106 =[];
result.results.osx106.push({ 'name': 'safari_5',  result: 'f', accessible_name: 'p', comment: 'AXValue=0, it should be 0.5'});
result.results.osx106.push({ 'name': 'firefox_4', result: 'f', accessible_name: 'f', comment: 'Accessibility Inspector does not work in Firefox.'});
result.results.osx106.push({ 'name': 'chrome_10', result: 'f', accessible_name: 'f', comment: 'Accessibility Inspector does not work in Chrome.'});
result.results.osx106.push({ 'name': 'opera_11',  result: 'f', accessible_name: 'f', comment: 'AXValue=0, it should be 0.5; AXTitle=Checkbox node text content. It should be Checkbox aria-labelledby content. Lack of AXDescription.'});


// Unix/Linux user agent testing results 
result.results.unix =[];
result.results.unix.push(  { 'name': 'firefox_4', result: 'u', accessible_name: 'u', comment: ''});


// Screen Reader Support 
result.results.sr =[];
result.results.sr.push(  {'name': 'jaws_12_ff_4',       result: 'p', accessible_name: 'f', comment: 'only reads aria-label for name, not aria-labelledby'});
result.results.sr.push(  {'name': 'jaws_12_ie_9',       result: 'u', accessible_name: 'u', comment: 'unable to test; IE 9 closes the page'});
result.results.sr.push(  {'name': 'jaws_12_chrome_10',  result: 'f', accessible_name: 'p', comment: 'reads checkbox not checked'});
result.results.sr.push(  {'name': 'nvda_ff_4',          result: 'p', accessible_name: 'p', comment: ''});
result.results.sr.push(  {'name': 'nvda_ie_9',          result: 'u', accessible_name: 'u', comment: 'unable to test; IE 9 closes the page'});
result.results.sr.push(  {'name': 'nvda_chrome_10',     result: 'f', accessible_name: 'p', comment: 'reads checkbox unchecked'});
result.results.sr.push(  {'name': 'nvda_safari_5',      result: 'f', accessible_name: 'p', comment: 'reads as unchecked; reads child node text content name and reads description then aria-label'});
result.results.sr.push(  {'name': 'windoweyes_71',      result: 'u', accessible_name: 'u', comment: ''});
result.results.sr.push(  {'name': 'voiceover',          result: 'f', accessible_name: 'f', comment: 'Voiceover reads as unchecked. It should be mixed; Accessible_name only includes aria-label(AXDescription).'});

aria_test_results.add( result )

